package sg.edu.nus.iss.phoenix.schedule.service;

import java.util.List;

import sg.edu.nus.iss.phoenix.dao.DAOFactory;
import sg.edu.nus.iss.phoenix.schedule.dao.AnnualScheduleDAO;
import sg.edu.nus.iss.phoenix.schedule.dao.ProgramSlotDAO;
import sg.edu.nus.iss.phoenix.schedule.dao.WeeklyScheduleDAO;
import sg.edu.nus.iss.phoenix.schedule.entity.*;

public class MaintainScheduleService {
	private DAOFactory daoFactory;
	private AnnualScheduleDAO annualScheduleDAO;
	private WeeklyScheduleDAO weeklyScheduleDAO;
	private ProgramSlotDAO programSlotDAO;
	
	public MaintainScheduleService(){
		daoFactory = new DAOFactory();
		annualScheduleDAO = daoFactory.getAnnualScheduleDAO();
		weeklyScheduleDAO = daoFactory.getWeeklyScheduleDAO();
		programSlotDAO = daoFactory.getProgramSlotDAO();
		
	}
	
	public DAOFactory getDaoFactory() {
		return daoFactory;
	}

	public AnnualScheduleDAO getAnnualScheduleDAO() {
		return annualScheduleDAO;
	}
	public void setAnnualScheduleDAO(AnnualScheduleDAO annualScheduleDAO) {
		this.annualScheduleDAO = annualScheduleDAO;
	}
	public WeeklyScheduleDAO getWeeklyScheduleDAO() {
		return weeklyScheduleDAO;
	}
	public void setWeeklyScheduleDAO(WeeklyScheduleDAO weeklyScheduleDAO) {
		this.weeklyScheduleDAO = weeklyScheduleDAO;
	}
	public ProgramSlotDAO getProgramSlotDAO() {
		return programSlotDAO;
	}
	public void setProgramSlotDAO(ProgramSlotDAO programSlotDAO) {
		this.programSlotDAO = programSlotDAO;
	}

	

}
